{% extends 'news/base.html' %}

{% block titleBlock %}
首页-新经资讯
{% endblock %}

{% block javascriptBlock %}
<script type="text/javascript" src="../../static/news/js/index.js"></script>
{% endblock %}

{% block headerBlock %}
    <ul class="menu fl">
        {#  新闻分类数据获取      #}
        {% for category in data.category_list  %}
            <li class="{% if loop.index0 == 0 %}active{% endif %}"data-cid="{{ category.id }}"><a href="javascript:;">{{ category.name }}</a></li>

        {% endfor %}
    </ul>
{% endblock %}

    
    {% block contentBlock %}
        <ul class="list_con fl"></ul>
    {% endblock %}


